package cn.jbolt.ndemo.dao;

import cn.jbolt.ndemo.entity.ComplaintPush;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.MapKey;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface ComplaintPushMapper extends BaseMapper<ComplaintPush> {

    @MapKey("data")
    List<Map<String, Integer>> getCount(@Param("deptIdTechnology") Long deptIdTechnology,
                                       @Param("deptIdMarket") Long deptIdMarket,
                                       @Param("deptIdCustomerService")  Long deptIdCustomerService);
}
